package com.icomvn.game.pikachu.object;

import android.util.Log;

import com.icomvn.game.pikachu.utility.Save;

public class HandlerObject extends CountDownTimer {
	public HandlerObject() {
		super(3600000, 500);
	}

	@Override
	public void onFinish() {
		// het gio nguoi dung khong duoc phep choi tiep
	}

	@Override
	public void onTick(long millisUntilFinished) {
		try {
			if (Save.start) {
				Save.playGame.alertFinish();
				Save.start = false;
				Save.handler.cancel();
			}
		} catch (Exception e) {
			Log.e("erro", e.toString());
		}
	}

}